package com.ruoyi.project.query.paeaDsInvt.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.query.paeaDsLink.domain.DsAccInvm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.query.paeaDsInvt.mapper.PaeaDsInvtMapper;
import com.ruoyi.project.query.paeaDsInvt.domain.PaeaDsInvt;
import com.ruoyi.project.query.paeaDsInvt.service.IPaeaDsInvtService;

/**
 * 定一本主子账户关系历史Service业务层处理
 *
 * @author gang.wei
 * @date 2020-04-06
 */
@Service
public class PaeaDsInvtServiceImpl extends ServiceImpl<PaeaDsInvtMapper, PaeaDsInvt> implements IPaeaDsInvtService
{
    @Autowired
    private PaeaDsInvtMapper paeaDsInvtMapper;

    /**
     * 查询定一本主子账户关系历史列表
     *
     * @param paeaDsInvt 定一本主子账户关系历史
     * @return 定一本主子账户关系历史
     */
    @Override
    public List<PaeaDsInvt> selectPaeaDsInvtList(PaeaDsInvt paeaDsInvt)
    {
        return paeaDsInvtMapper.selectPaeaDsInvtList(paeaDsInvt);
    }

    /**
     * 新增定一本主子账户关系历史
     *
     * @param paeaDsInvt 定一本主子账户关系历史
     * @return 结果
     */
    @Override
    public int insertPaeaDsInvt(PaeaDsInvt paeaDsInvt)
    {
        return paeaDsInvtMapper.insertPaeaDsInvt(paeaDsInvt);
    }

    /**
     * 修改定一本主子账户关系历史
     *
     * @param paeaDsInvt 定一本主子账户关系历史
     * @return 结果
     */
    @Override
    public int updatePaeaDsInvt(PaeaDsInvt paeaDsInvt)
    {
        return paeaDsInvtMapper.updatePaeaDsInvt(paeaDsInvt);
    }

    @Override
    public List<DsAccInvm> queryAccInvm(PaeaDsInvt paeaDsInvt) {
        return paeaDsInvtMapper.queryAccInvm(paeaDsInvt);
    }
}
